home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Environments / PowerMacOberon feb96 / Text / OberonErrors.Text (.txt) < prev    next >
Encoding:
Oberon Text  |  1994-07-11  |  6.8 KB  |  198 lines  |  [TEXT/.Ob4]

  1. Syntax10b.Scn.Fnt
  2. Syntax10.Scn.Fnt
  3. List of Oberon Error Numbers
  4. N. Wirth / 20.6.87 / R. Crelier  18.8.92 / M. Brandis 30.10.92
  5.     (OP2 Compiler for PowerMac)
  6. 1. Incorrect use of language Oberon
  7.   0    undeclared identifier
  8.   1    multiply defined identifier
  9.   2    illegal character in number
  10.   3    illegal character in string
  11.   4    identifier does not match procedure name
  12.   5    comment not closed
  13.   9    "=" expected
  14. 10    identifier expected
  15. 12    type definition starts with incorrect symbol
  16. 13    factor starts with incorrect symbol
  17. 14    statement starts with incorrect symbol
  18. 15    declaration followed by incorrect symbol
  19. 16    MODULE expected
  20. 18    "." missing
  21. 19    "," missing
  22. 20    ":" missing
  23. 22    ")" missing
  24. 23    "]" missing
  25. 24    "}" missing
  26. 25    OF missing
  27. 26    THEN missing
  28. 27    DO missing
  29. 28    TO missing
  30. 30    "(" missing
  31. 34    ":=" missing
  32. 35    "," or OF expected
  33. 38    identifier expected
  34. 39    ";" missing
  35. 41    END missing
  36. 44    UNTIL missing
  37. 46    EXIT not within loop statement
  38. 47    illegally marked identifier
  39. 50    expression should be constant
  40. 51    constant not an integer
  41. 52    identifier does not denote a type
  42. 53    identifier does not denote a record type
  43. 54    result type of procedure is not a basic type
  44. 55    procedure call of a function
  45. 56    assignment to non-variable
  46. 57    pointer not bound to record or array type
  47. 58    recursive type definition
  48. 59    illegal open array parameter
  49. 60    wrong type of case label
  50. 61    inadmissible type of case label
  51. 62    case label defined more than once
  52. 63    illegal value of constant
  53. 64    more actual than formal parameters
  54. 65    fewer actual than formal parameters
  55. 66    element types of actual array and formal open array differ
  56. 67    actual parameter corresponding to open array is not an array
  57. 68    control variable must be integer
  58. 69    parameter must be an integer constant
  59. 70    pointer or VAR record required as formal receiver
  60. 71    pointer expected as actual receiver
  61. 72    procedure must be bound to a record of the same scope
  62. 73    procedure must have level 0
  63. 74    procedure unknown in base type
  64. 75    invalid call of base procedure
  65. 76    this variable (field) is read only
  66. 77    object is not a record
  67. 78    dereferenced object is not a variable
  68. 79    indexed object is not a variable
  69. 80    index expression is not an integer
  70. 81    index out of specified bounds
  71. 82    indexed variable is not an array
  72. 83    undefined record field
  73. 84    dereferenced variable is not a pointer
  74. 85    guard or test type is not an extension of variable type
  75. 86    guard or testtype is not a pointer
  76. 87    guarded or tested variable is neither a pointer nor a VAR-parameter record
  77. 88    open array not allowed as variable, record field or array element
  78. 92    operand of IN not an integer, or not a set
  79. 93    set element type is not an integer
  80. 94    operand of & is not of type BOOLEAN
  81. 95    operand of OR is not of type BOOLEAN
  82. 96    operand not applicable to (unary) +
  83. 97    operand not applicable to (unary) -
  84. 98    operand of ~ is not of type BOOLEAN
  85. 99    ASSERT fault
  86. 100    incompatible operands of dyadic operator
  87. 101    operand type inapplicable to *
  88. 102    operand type inapplicable to /
  89. 103    operand type inapplicable to DIV
  90. 104    operand type inapplicable to MOD
  91. 105    operand type inapplicable to +
  92. 106    operand type inapplicable to -
  93. 107    operand type inapplicable to = or #
  94. 108    operand type inapplicable to relation
  95. 109    overriding method must be exported
  96. 110    operand is not a type
  97. 111    operand inapplicable to (this) function
  98. 112    operand is not a variable
  99. 113    incompatible assignment
  100. 114    string too long to be assigned
  101. 115    parameter doesn't match
  102. 116    number of parameters doesn't match
  103. 117    result type doesn't match
  104. 118    export mark doesn't match with forward declaration
  105. 119    redefinition textually precedes procedure bound to base type
  106. 120    type of expression following IF, WHILE, UNTIL or ASSERT is not BOOLEAN
  107. 121    called object is not a procedure (or is an interrupt procedure)
  108. 122    actual VAR-parameter is not a variable
  109. 123    type of actual parameter is not identical with that of formal VAR-parameter
  110. 124    type of result expression differs from that of procedure
  111. 125    type of case expression is neither INTEGER nor CHAR
  112. 126    this expression cannot be a type or a procedure
  113. 127    illegal use of object
  114. 128    unsatisfied forward reference
  115. 129    unsatisfied forward procedure
  116. 130    WITH clause does not specify a variable
  117. 131    LEN not applied to array
  118. 132    dimension in LEN too large or negative
  119. 135    SYSTEM not imported
  120. 150    key inconsistency of imported module
  121. 151    incorrect symbol file
  122. 152    symbol file of imported module not found
  123. 153    object or symbol file not opened (disk full?)
  124. 154    recursive import not allowed
  125. 155    generation of new symbol file not allowed
  126. 2. Limitations of implementation
  127. 200    not yet implemented
  128. 201    lower bound of set range greater than higher bound
  129. 202    set element greater than MAX(SET) or less than 0
  130. 203    number too large
  131. 204    product too large
  132. 205    division by zero
  133. 206    sum too large
  134. 207    difference too large
  135. 208    overflow in arithmetic shift
  136. 209    case range too large
  137. 210    code too long
  138. 213    too many cases in case statement
  139. 214    too many exit statements
  140. 215    not enough registers: simplify expression
  141. 216    not enough floating-point registers: simplify expression
  142. 218    illegal value of parameter  (20 <= p < 256)
  143. 219    illegal value of parameter  (0 <= p < 16)
  144. 220    illegal value of parameter
  145. 221    too many pointers in a record
  146. 222    too many global pointers
  147. 223    too many type descriptors (reduce number of record types)
  148. 224    too many pointer types
  149. 225    address of pointer variable too large (move forward in text)
  150. 226    too many entries (exported procedures, bound procedures or case statements)
  151. 227    too many imported modules
  152. 228    too many exported structures
  153. 229    too many nested records for import
  154. 230    too many constants (strings) in module
  155. 231    too many link table entries (external procedures, bound procedures or case statements)
  156. 232    too many commands in module
  157. 233    record extension hierarchy too high
  158. 234    export of recursive type not allowed
  159. 236    too many traps, split module
  160. 240    identifier too long
  161. 241    string too long
  162. 3. Warnings
  163. 301    implicit type cast
  164. 302    guarded variable can be side-effected
  165. 900    never used
  166. 901    never set
  167. 902    used before set
  168. 903    set but never used
  169. 904    used as varpar, possibly not set
  170. 905    also declared in outer scope
  171. 906    access/assignment to intermediate
  172. 907    redefinition
  173. 4. Run-time Trap Numbers
  174.   0    Unkown exception
  175.   1    Illegal instruction
  176.   2    Oberon Trap
  177.           2.0    ASSERT trap
  178.           2.1    Array index out of range
  179.           2.2    Integer division by zero or negative value
  180.           2.3    Invalid case in CASE statement
  181.           2.4    Type guard check
  182.           2.5    Function procedure without RETURN statement
  183.           2.6    Invalid array dimension in NEW
  184.           2.7    NIL trap
  185.           2.20 - 2.99    Programmed HALT
  186.   3    Failed memory Access
  187.   4    Unmapped memory
  188.   5    Excluded memory
  189.   6    Read only memory
  190.   7    Page fault
  191.   8    Privilege violation
  192. 10    Instruction breakpoint
  193. 11    Data breakpoint
  194. 12    Unused
  195. 13    Floating point
  196. 14    Stack overflow
  197. 15    Task terminated
  198.